<!DOCTYPE HTML>
<title>Canvas test: 2d.shadow.attributes.shadowColor.1</title>
<!--[if IE]><script src="../excanvas/excanvas.js"></script><![endif]-->
<script src="../tests.js"></script>
<link rel="stylesheet" href="../tests.css">
<link rel="prev" href="2d.shadow.attributes.shadowOffset.2.html" title="2d.shadow.attributes.shadowOffset.2">
<link rel="next" href="2d.shadow.attributes.shadowColor.2.html" title="2d.shadow.attributes.shadowColor.2">
<body class="show_output">
<p>
 <a href="2d.shadow.attributes.shadowOffset.2.html" accesskey="p" title="[p] 2d.shadow.attributes.shadowOffset.2">&lt;</a>
 <a href="index.html">[index]</a>
 <a href="2d.shadow.attributes.shadowColor.2.html" accesskey="n" title="[n] 2d.shadow.attributes.shadowColor.2">&gt;</a>
<h1><a href="index.2d.html">2d</a>.<a href="index.2d.shadow.html">shadow</a>.<a href="index.2d.shadow.attributes.html">attributes</a>.<a href="index.2d.shadow.attributes.shadowColor.html">shadowColor</a>.1</h1>
<p class="desc"></p>
<div class="refs">References:
<ul>

</ul>
</div>

<p class="output">Actual output:</p>
<canvas id="c" class="output" width="100" height="50"><p class="fallback">FAIL (fallback content)</p></canvas>

<ul id="d"></ul>
<script>
_addTest(function(canvas, ctx) {

ctx.shadowColor = 'lime';
_assertSame(ctx.shadowColor, '#00ff00', "ctx.shadowColor", "'#00ff00'");
ctx.shadowColor = 'RGBA(0,255, 0,0)';
_assertSame(ctx.shadowColor, 'rgba(0, 255, 0, 0.0)', "ctx.shadowColor", "'rgba(0, 255, 0, 0.0)'");


});
</script>

